home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 176-200 / disk_195 / microemacs / src.zoo / efunc.h < prev    next >
Text File  |  1989-03-23  |  7KB  |  255 lines

  1. /*    EFUNC.H:    MicroEMACS function declarations and names
  2.  
  3.         This file list all the C code functions used by MicroEMACS
  4.     and the names to use to bind keys to them. To add functions,
  5.     declare it here in both the extern function list and the name
  6.     binding table.
  7.  
  8. */
  9.  
  10. /*    Name to function binding table
  11.  
  12.         This table gives the names of all the bindable functions
  13.     end their C function address. These are used for the bind-to-key
  14.     function.
  15. */
  16.  
  17. NOSHARE NBIND    names[] = {
  18.     {"abort-command",        ctrlg},
  19.     {"add-global-mode",        setgmode},
  20.     {"add-mode",            setmod},
  21. #if    APROP
  22.     {"apropos",            apro},
  23. #endif
  24.     {"backward-character",        backchar},
  25.     {"begin-macro",            ctlxlp},
  26.     {"beginning-of-file",        gotobob},
  27.     {"beginning-of-line",        gotobol},
  28.     {"bind-to-key",            bindtokey},
  29.     {"buffer-position",        showcpos},
  30.     {"case-region-lower",        lowerregion},
  31.     {"case-region-upper",        upperregion},
  32.     {"case-word-capitalize",    capword},
  33.     {"case-word-lower",        lowerword},
  34.     {"case-word-upper",        upperword},
  35.     {"change-file-name",        filename},
  36.     {"change-screen-size",        newsize},
  37.     {"change-screen-width",        newwidth},
  38.     {"clear-and-redraw",        refresh},
  39.     {"clear-message-line",        clrmes},
  40.     {"copy-region",            copyregion},
  41. #if    WORDPRO
  42.     {"count-words",            wordcount},
  43. #endif
  44.     {"ctlx-prefix",            cex},
  45.     {"delete-blank-lines",        deblank},
  46.     {"delete-buffer",        killbuffer},
  47.     {"delete-global-mode",        delgmode},
  48.     {"delete-mode",            delmode},
  49.     {"delete-next-character",    forwdel},
  50.     {"delete-next-word",        delfword},
  51.     {"delete-other-windows",    onlywind},
  52.     {"delete-previous-character",    backdel},
  53.     {"delete-previous-word",    delbword},
  54.     {"delete-window",        delwind},
  55.     {"describe-bindings",        desbind},
  56. #if    DEBUGM
  57.     {"describe-functions",        desfunc},
  58. #endif
  59.     {"describe-key",        deskey},
  60. #if    DEBUGM
  61.     {"describe-variables",        desvars},
  62. #endif
  63. #if    AEDIT
  64.     {"detab-line",            detab},
  65.     {"detab-region",        detab},
  66. #endif
  67. #if    DEBUGM
  68.     {"display",            dispvar},
  69. #endif
  70.     {"end-macro",            ctlxrp},
  71.     {"end-of-file",            gotoeob},
  72.     {"end-of-line",            gotoeol},
  73.     {"end-of-word",            endword},
  74. #if    AEDIT
  75.     {"entab-line",            entab},
  76.     {"entab-region",        entab},
  77. #endif
  78.     {"exchange-point-and-mark",    swapmark},
  79.     {"execute-buffer",        execbuf},
  80.     {"execute-command-line",    execcmd},
  81.     {"execute-file",        execfile},
  82.     {"execute-macro",        ctlxe},
  83.     {"execute-macro-1",        cbuf1},
  84.     {"execute-macro-10",        cbuf10},
  85.     {"execute-macro-11",        cbuf11},
  86.     {"execute-macro-12",        cbuf12},
  87.     {"execute-macro-13",        cbuf13},
  88.     {"execute-macro-14",        cbuf14},
  89.     {"execute-macro-15",        cbuf15},
  90.     {"execute-macro-16",        cbuf16},
  91.     {"execute-macro-17",        cbuf17},
  92.     {"execute-macro-18",        cbuf18},
  93.     {"execute-macro-19",        cbuf19},
  94.     {"execute-macro-2",        cbuf2},
  95.     {"execute-macro-20",        cbuf20},
  96.     {"execute-macro-21",        cbuf21},
  97.     {"execute-macro-22",        cbuf22},
  98.     {"execute-macro-23",        cbuf23},
  99.     {"execute-macro-24",        cbuf24},
  100.     {"execute-macro-25",        cbuf25},
  101.     {"execute-macro-26",        cbuf26},
  102.     {"execute-macro-27",        cbuf27},
  103.     {"execute-macro-28",        cbuf28},
  104.     {"execute-macro-29",        cbuf29},
  105.     {"execute-macro-3",        cbuf3},
  106.     {"execute-macro-30",        cbuf30},
  107.     {"execute-macro-31",        cbuf31},
  108.     {"execute-macro-32",        cbuf32},
  109.     {"execute-macro-33",        cbuf33},
  110.     {"execute-macro-34",        cbuf34},
  111.     {"execute-macro-35",        cbuf35},
  112.     {"execute-macro-36",        cbuf36},
  113.     {"execute-macro-37",        cbuf37},
  114.     {"execute-macro-38",        cbuf38},
  115.     {"execute-macro-39",        cbuf39},
  116.     {"execute-macro-4",        cbuf4},
  117.     {"execute-macro-40",        cbuf40},
  118.     {"execute-macro-5",        cbuf5},
  119.     {"execute-macro-6",        cbuf6},
  120.     {"execute-macro-7",        cbuf7},
  121.     {"execute-macro-8",        cbuf8},
  122.     {"execute-macro-9",        cbuf9},
  123.     {"execute-named-command",    namedcmd},
  124. #if    PROC
  125.     {"execute-procedure",        execproc},
  126. #endif
  127.     {"execute-program",        execprg},
  128.     {"exit-emacs",            quit},
  129. #if    WORDPRO
  130.     {"fill-paragraph",        fillpara},
  131. #endif
  132.     {"filter-buffer",        filter},
  133.     {"find-file",            filefind},
  134.     {"forward-character",        forwchar},
  135.     {"goto-line",            gotoline},
  136.     {"goto-mark",            gotomark},
  137. #if    CFENCE
  138.     {"goto-matching-fence",        getfence},
  139. #endif
  140.     {"grow-window",            enlargewind},
  141.     {"handle-tab",            tab},
  142.     {"help",            help},
  143.     {"hunt-backward",        backhunt},
  144.     {"hunt-forward",        forwhunt},
  145.     {"i-shell",            spawncli},
  146. #if    ISRCH
  147.     {"incremental-search",        fisearch},
  148. #endif
  149.     {"insert-file",            insfile},
  150.     {"insert-space",        insspace},
  151.     {"insert-string",        istring},
  152. #if    WORDPRO
  153.     {"kill-paragraph",        killpara},
  154. #endif
  155.     {"kill-region",            killregion},
  156.     {"kill-to-end-of-line",        killtext},
  157. #if    FLABEL
  158.     {"label-function-key",        fnclabel},
  159. #endif
  160.     {"list-buffers",        listbuffers},
  161.     {"macro-to-key",        macrotokey},
  162.     {"meta-prefix",            meta},
  163. #if    MOUSE
  164.     {"mouse-move-down",        movemd},
  165.     {"mouse-move-up",        movemu},
  166.     {"mouse-region-down",        mregdown},
  167.     {"mouse-region-up",        mregup},
  168.     {"mouse-resize-screen",        resizm},
  169. #endif
  170.     {"move-window-down",        mvdnwind},
  171.     {"move-window-up",        mvupwind},
  172.     {"name-buffer",            namebuffer},
  173.     {"narrow-to-region",        narrow},
  174.     {"newline",            newline},
  175.     {"newline-and-indent",        indent},
  176.     {"next-buffer",            nextbuffer},
  177.     {"next-line",            forwline},
  178.     {"next-page",            forwpage},
  179. #if    WORDPRO
  180.     {"next-paragraph",        gotoeop},
  181. #endif
  182.     {"next-window",            nextwind},
  183.     {"next-word",            forwword},
  184.     {"nop",                nullproc},
  185.     {"open-line",            openline},
  186.     {"overwrite-string",        ovstring},
  187.     {"pipe-command",        pipecmd},
  188.     {"previous-line",        backline},
  189.     {"previous-page",        backpage},
  190. #if    WORDPRO
  191.     {"previous-paragraph",        gotobop},
  192. #endif
  193.     {"previous-window",        prevwind},
  194.     {"previous-word",        backword},
  195.     {"print",            writemsg},
  196.     {"query-replace-string",    qreplace},
  197.     {"quick-exit",            quickexit},
  198.     {"quote-character",        quote},
  199.     {"read-file",            fileread},
  200.     {"redraw-display",        reposition},
  201.     {"remove-mark",            remmark},
  202.     {"replace-string",        sreplace},
  203.     {"resize-window",        resize},
  204.     {"restore-window",        restwnd},
  205. #if    ISRCH
  206.     {"reverse-incremental-search",    risearch},
  207. #endif
  208. #if    PROC
  209.     {"run",                execproc},
  210. #endif
  211.     {"save-file",            filesave},
  212.     {"save-window",            savewnd},
  213.     {"scroll-next-down",        nextdown},
  214.     {"scroll-next-up",        nextup},
  215.     {"search-forward",        forwsearch},
  216.     {"search-reverse",        backsearch},
  217.     {"select-buffer",        usebuffer},
  218.     {"set",                setvar},
  219. #if    CRYPT
  220.     {"set-encryption-key",        setekey},
  221. #endif
  222.     {"set-fill-column",        setfillcol},
  223.     {"set-mark",            setmark},
  224.     {"shell-command",        spawn},
  225.     {"shrink-window",        shrinkwind},
  226.     {"source",            execfile},
  227.     {"split-current-window",    splitwind},
  228.     {"store-macro",            storemac},
  229. #if    PROC
  230.     {"store-procedure",        storeproc},
  231. #endif
  232. #if    BSD
  233.     {"suspend-emacs",        bktoshell},
  234. #endif
  235.     {"transpose-characters",    twiddle},
  236. #if    AEDIT
  237.     {"trim-line",            trim},
  238.     {"trim-region",            trim},
  239. #endif
  240.     {"unbind-key",            unbindkey},
  241.     {"universal-argument",        unarg},
  242.     {"unmark-buffer",        unmark},
  243.     {"update-screen",        upscreen},
  244.     {"view-file",            viewfile},
  245.     {"widen-from-region",        widen},
  246.     {"wrap-word",            wrapword},
  247.     {"write-file",            filewrite},
  248.     {"write-message",        writemsg},
  249.     {"yank",            yank},
  250.  
  251.     {"",            NULL}
  252. };
  253.  
  254. #define    NFUNCS    (sizeof(names)/sizeof(NBIND)) - 1
  255.